import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';
export class judgeEmailDto {
  @IsNotEmpty({ message: '验证的key不能为空' })
  @ApiProperty({ example: '请输入您的邮箱验证key，类型需要是字符串' })
  key: string;
  @IsNotEmpty({ message: '验证的值不能为空' })
  @ApiProperty({ example: '请输入您的邮箱验证value，类型是字符串' })
  value: string;
}
